package router

import "github.com/gin-gonic/gin"

func LoadRouter(r *gin.Engine) {
	takeFood := r.Group("/takeFood")
	{
		takeFood.GET("/list", TakeFoodList)
	}
	Notice := r.Group("/notice")
	{
		Notice.POST("/create", NoticeCreate)
	}
	chat := r.Group("/websocket")
	{
		chat.GET("/chat", Chat)
	}
}
